﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace QuanLyDaiLy.Model
{
    [Table (Name="Quan")]
    public class CQuan
    {
        #region Properties
        [Column(Name = "MaQuan", IsPrimaryKey = true)]
        public ulong MaQuan { get; set; }

        [Column(Name = "TenQuan", IsPrimaryKey = true)]
        public string TenQuan { get; set; }
        #endregion

        #region Constructor
        public CQuan()
        { }

        public CQuan(string tenquan)
        {
            this.TenQuan = tenquan;
        }
        #endregion
    }
}
